package com.itsq.service.resources;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.itsq.pojo.dto.PageUsersDto;
import com.itsq.pojo.dto.PageViolationDto;
import com.itsq.pojo.entity.Users;
import com.itsq.pojo.entity.Violation;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 史先帅
 * @since 2021-02-01
 */
public interface ViolationService extends IService<Violation> {

    public Page<Violation> selViolationPageFront(PageViolationDto pageViolationDto);

    public Page<Violation> selViolationPageAfter(PageViolationDto pageViolationDto);

    public String findwz(Integer id);

    public Integer insert(Violation violation);

    public Integer update(Violation violation);

    public Integer delete(Integer id);
}
